.class Lcom/example/m6shop/GoodsShowActivity$4;
.super Landroid/os/Handler;
.source "GoodsShowActivity.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/example/m6shop/GoodsShowActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/example/m6shop/GoodsShowActivity;


# direct methods
.method constructor <init>(Lcom/example/m6shop/GoodsShowActivity;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    .line 282
    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method

.method static synthetic access$0(Lcom/example/m6shop/GoodsShowActivity$4;)Lcom/example/m6shop/GoodsShowActivity;
    .locals 1

    .prologue
    .line 282
    iget-object v0, p0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    return-object v0
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 22
    .param p1, "msg"    # Landroid/os/Message;

    .prologue
    .line 284
    invoke-super/range {p0 .. p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    .line 285
    move-object/from16 v0, p1

    iget v0, v0, Landroid/os/Message;->arg1:I

    move/from16 v19, v0

    sparse-switch v19, :sswitch_data_0

    .line 399
    :cond_0
    :goto_0
    :sswitch_0
    return-void

    .line 290
    :sswitch_1
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$0(Lcom/example/m6shop/GoodsShowActivity;)Landroid/content/Context;

    move-result-object v19

    const-string v20, "\u8ba2\u5355\u6570\u636e\u4e3a\u7a7a"

    const-string v21, "\u8ba2\u5355\u6570\u636e\u83b7\u53d6\u4e3a\u7a7a"

    invoke-static/range {v19 .. v21}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    .line 294
    :sswitch_2
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$0(Lcom/example/m6shop/GoodsShowActivity;)Landroid/content/Context;

    move-result-object v19

    new-instance v20, Ljava/lang/StringBuilder;

    const-string v21, "\u6570\u636e\u5904\u7406\u5931\u8d25:"

    invoke-direct/range {v20 .. v21}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v21, v0

    invoke-virtual/range {v21 .. v21}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-virtual/range {v20 .. v21}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v20

    invoke-virtual/range {v20 .. v20}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v20

    const/16 v21, 0x0

    invoke-static/range {v19 .. v21}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v19

    invoke-virtual/range {v19 .. v19}, Landroid/widget/Toast;->show()V

    .line 295
    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v3

    .line 296
    .local v3, "checkinfo":Ljava/lang/String;
    const-string v19, "nologin"

    move-object/from16 v0, v19

    invoke-virtual {v3, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v19

    if-eqz v19, :cond_0

    .line 298
    new-instance v10, Landroid/content/Intent;

    invoke-direct {v10}, Landroid/content/Intent;-><init>()V

    .line 299
    .local v10, "intent":Landroid/content/Intent;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    const-class v20, Lcom/example/m6shop/LoginActivity;

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-virtual {v10, v0, v1}, Landroid/content/Intent;->setClass(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;

    .line 300
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    invoke-virtual {v0, v10}, Lcom/example/m6shop/GoodsShowActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    .line 306
    .end local v3    # "checkinfo":Ljava/lang/String;
    .end local v10    # "intent":Landroid/content/Intent;
    :sswitch_3
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$0(Lcom/example/m6shop/GoodsShowActivity;)Landroid/content/Context;

    move-result-object v19

    const-string v20, "\u63d0\u793a\u4fe1\u606f\u68c0\u67e5\u7f51\u7edc\u8fde\u63a5\u6216\u8005\u8054\u7cfb\u5ba2\u670d"

    const/16 v21, 0x0

    invoke-static/range {v19 .. v21}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v19

    invoke-virtual/range {v19 .. v19}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    .line 309
    :sswitch_4
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    const v20, 0x7f070065

    invoke-virtual/range {v19 .. v20}, Lcom/example/m6shop/GoodsShowActivity;->findViewById(I)Landroid/view/View;

    move-result-object v15

    check-cast v15, Landroid/widget/TextView;

    .line 312
    .local v15, "selectpstime":Landroid/widget/TextView;
    :try_start_0
    new-instance v12, Lorg/json/JSONObject;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->typestr:Ljava/lang/String;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$1(Lcom/example/m6shop/GoodsShowActivity;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-direct {v12, v0}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    .line 313
    .local v12, "json":Lorg/json/JSONObject;
    const-string v19, "msg"

    move-object/from16 v0, v19

    invoke-virtual {v12, v0}, Lorg/json/JSONObject;->getJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;

    move-result-object v11

    .line 314
    .local v11, "jarray":Lorg/json/JSONObject;
    const-string v19, "typelist"

    move-object/from16 v0, v19

    invoke-virtual {v11, v0}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v13

    .line 316
    .local v13, "myarray":Lorg/json/JSONArray;
    const/4 v6, 0x0

    .local v6, "i":I
    :goto_1
    invoke-virtual {v13}, Lorg/json/JSONArray;->length()I
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    move-result v19

    move/from16 v0, v19

    if-lt v6, v0, :cond_1

    .line 329
    .end local v6    # "i":I
    .end local v11    # "jarray":Lorg/json/JSONObject;
    .end local v12    # "json":Lorg/json/JSONObject;
    .end local v13    # "myarray":Lorg/json/JSONArray;
    :goto_2
    new-instance v19, Lcom/example/m6shop/GoodsShowActivity$4$1;

    move-object/from16 v0, v19

    move-object/from16 v1, p0

    invoke-direct {v0, v1}, Lcom/example/m6shop/GoodsShowActivity$4$1;-><init>(Lcom/example/m6shop/GoodsShowActivity$4;)V

    move-object/from16 v0, v19

    invoke-virtual {v15, v0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto/16 :goto_0

    .line 318
    .restart local v6    # "i":I
    .restart local v11    # "jarray":Lorg/json/JSONObject;
    .restart local v12    # "json":Lorg/json/JSONObject;
    .restart local v13    # "myarray":Lorg/json/JSONArray;
    :cond_1
    :try_start_1
    invoke-virtual {v13, v6}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "id"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v14

    .line 319
    .local v14, "nowid":Ljava/lang/String;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->typeid:Ljava/lang/String;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    invoke-virtual {v14, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v19

    if-eqz v19, :cond_2

    .line 320
    invoke-virtual {v13, v6}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v19

    const-string v20, "name"

    invoke-virtual/range {v19 .. v20}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v15, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    .line 316
    :cond_2
    add-int/lit8 v6, v6, 0x1

    goto :goto_1

    .line 324
    .end local v6    # "i":I
    .end local v11    # "jarray":Lorg/json/JSONObject;
    .end local v12    # "json":Lorg/json/JSONObject;
    .end local v13    # "myarray":Lorg/json/JSONArray;
    .end local v14    # "nowid":Ljava/lang/String;
    :catch_0
    move-exception v4

    .line 326
    .local v4, "e":Lorg/json/JSONException;
    invoke-virtual {v4}, Lorg/json/JSONException;->printStackTrace()V

    goto :goto_2

    .line 347
    .end local v4    # "e":Lorg/json/JSONException;
    .end local v15    # "selectpstime":Landroid/widget/TextView;
    :sswitch_5
    sget-object v19, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v20, Ljava/lang/StringBuilder;

    const-string v21, "\u8fd4\u56de\u4e0a\u4f20\u540e\u56fe\u7247\u6570\u636e:"

    invoke-direct/range {v20 .. v21}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v21, v0

    invoke-virtual/range {v21 .. v21}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v21

    invoke-virtual/range {v20 .. v21}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v20

    invoke-virtual/range {v20 .. v20}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v20

    invoke-virtual/range {v19 .. v20}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 349
    new-instance v19, Ljava/lang/StringBuilder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v20, v0

    move-object/from16 v0, v20

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->m:Lmyapp/MyApp;

    move-object/from16 v20, v0

    invoke-virtual/range {v20 .. v20}, Lmyapp/MyApp;->getWebConfig()Ljava/lang/String;

    move-result-object v20

    invoke-static/range {v20 .. v20}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v20

    invoke-direct/range {v19 .. v20}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v20, v0

    invoke-virtual/range {v20 .. v20}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v20

    invoke-virtual/range {v19 .. v20}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v19

    invoke-virtual/range {v19 .. v19}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v8

    .line 351
    .local v8, "imgurl":Ljava/lang/String;
    sget-object v19, Ljava/lang/System;->out:Ljava/io/PrintStream;

    new-instance v20, Ljava/lang/StringBuilder;

    const-string v21, "\u56fe\u7247\u5730\u5740:"

    invoke-direct/range {v20 .. v21}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    move-object/from16 v0, v20

    invoke-virtual {v0, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v20

    invoke-virtual/range {v20 .. v20}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v20

    invoke-virtual/range {v19 .. v20}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

    .line 355
    new-instance v7, Lmyclass/ImageLoader;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$0(Lcom/example/m6shop/GoodsShowActivity;)Landroid/content/Context;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-direct {v7, v0}, Lmyclass/ImageLoader;-><init>(Landroid/content/Context;)V

    .line 356
    .local v7, "imageLoader":Lmyclass/ImageLoader;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->goodslogo:Landroid/widget/ImageView;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    invoke-virtual {v7, v8, v0}, Lmyclass/ImageLoader;->DisplayImage(Ljava/lang/String;Landroid/widget/ImageView;)V

    goto/16 :goto_0

    .line 361
    .end local v7    # "imageLoader":Lmyclass/ImageLoader;
    .end local v8    # "imgurl":Ljava/lang/String;
    :sswitch_6
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$0(Lcom/example/m6shop/GoodsShowActivity;)Landroid/content/Context;

    move-result-object v19

    const-string v20, "\u4e0a\u4f20\u56fe\u7247\u5931\u8d25"

    const-string v21, "\u4e0a\u4f20\u5931\u8d25"

    invoke-static/range {v19 .. v21}, Lmyclass/Util;->alertdialog(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    .line 364
    :sswitch_7
    move-object/from16 v0, p1

    iget-object v0, v0, Landroid/os/Message;->obj:Ljava/lang/Object;

    move-object/from16 v19, v0

    check-cast v19, Ljava/lang/Integer;

    invoke-virtual/range {v19 .. v19}, Ljava/lang/Integer;->intValue()I

    move-result v9

    .line 365
    .local v9, "in":I
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v20, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->lsp:Ljava/util/List;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    invoke-interface {v0, v9}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v19

    check-cast v19, Lbean/ProBean;

    invoke-virtual/range {v19 .. v19}, Lbean/ProBean;->getId()Ljava/lang/String;

    move-result-object v19

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    iput-object v0, v1, Lcom/example/m6shop/GoodsShowActivity;->productid:Ljava/lang/String;

    .line 367
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v20, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->lv:Landroid/widget/ListView;
    invoke-static/range {v20 .. v20}, Lcom/example/m6shop/GoodsShowActivity;->access$4(Lcom/example/m6shop/GoodsShowActivity;)Landroid/widget/ListView;

    move-result-object v20

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-virtual {v0, v9, v1}, Lcom/example/m6shop/GoodsShowActivity;->getViewByPosition(ILandroid/widget/ListView;)Landroid/view/View;

    move-result-object v16

    .line 368
    .local v16, "tempview":Landroid/view/View;
    const v19, 0x7f0701ce

    move-object/from16 v0, v16

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v18

    check-cast v18, Landroid/widget/EditText;

    .line 369
    .local v18, "tvs":Landroid/widget/EditText;
    const v19, 0x7f0701cf

    move-object/from16 v0, v16

    move/from16 v1, v19

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v17

    check-cast v17, Landroid/widget/EditText;

    .line 370
    .local v17, "tvc":Landroid/widget/EditText;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    invoke-virtual/range {v17 .. v17}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v20

    invoke-interface/range {v20 .. v20}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v20

    move-object/from16 v0, v20

    move-object/from16 v1, v19

    iput-object v0, v1, Lcom/example/m6shop/GoodsShowActivity;->stock:Ljava/lang/String;

    .line 371
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    invoke-virtual/range {v18 .. v18}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v20

    invoke-interface/range {v20 .. v20}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v20

    move-object/from16 v0, v20

    move-object/from16 v1, v19

    iput-object v0, v1, Lcom/example/m6shop/GoodsShowActivity;->cost:Ljava/lang/String;

    .line 372
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->save()Z

    goto/16 :goto_0

    .line 375
    .end local v9    # "in":I
    .end local v16    # "tempview":Landroid/view/View;
    .end local v17    # "tvc":Landroid/widget/EditText;
    .end local v18    # "tvs":Landroid/widget/EditText;
    :sswitch_8
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    const-string v20, "\u63d0\u4ea4\u6210\u529f"

    const/16 v21, 0xbb8

    invoke-static/range {v19 .. v21}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v19

    invoke-virtual/range {v19 .. v19}, Landroid/widget/Toast;->show()V

    .line 376
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    invoke-virtual/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->finish()V

    goto/16 :goto_0

    .line 379
    :sswitch_9
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->lsp:Ljava/util/List;

    move-object/from16 v19, v0

    if-eqz v19, :cond_3

    .line 380
    new-instance v2, Ladapter/NatureAdapter1;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->mcontext:Landroid/content/Context;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$0(Lcom/example/m6shop/GoodsShowActivity;)Landroid/content/Context;

    move-result-object v19

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v20, v0

    move-object/from16 v0, v20

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->lsp:Ljava/util/List;

    move-object/from16 v20, v0

    move-object/from16 v0, v19

    move-object/from16 v1, v20

    invoke-direct {v2, v0, v1}, Ladapter/NatureAdapter1;-><init>(Landroid/content/Context;Ljava/util/List;)V

    .line 381
    .local v2, "adapter":Ladapter/NatureAdapter1;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->lv:Landroid/widget/ListView;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$4(Lcom/example/m6shop/GoodsShowActivity;)Landroid/widget/ListView;

    move-result-object v19

    move-object/from16 v0, v19

    invoke-virtual {v0, v2}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 382
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    # getter for: Lcom/example/m6shop/GoodsShowActivity;->lv:Landroid/widget/ListView;
    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->access$4(Lcom/example/m6shop/GoodsShowActivity;)Landroid/widget/ListView;

    move-result-object v19

    invoke-static/range {v19 .. v19}, Lcom/example/m6shop/GoodsShowActivity;->seth(Landroid/widget/ListView;)V

    .line 384
    .end local v2    # "adapter":Ladapter/NatureAdapter1;
    :cond_3
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    const v20, 0x7f070068

    invoke-virtual/range {v19 .. v20}, Lcom/example/m6shop/GoodsShowActivity;->findViewById(I)Landroid/view/View;

    move-result-object v5

    check-cast v5, Landroid/widget/EditText;

    .line 385
    .local v5, "etgoodsbagcost":Landroid/widget/EditText;
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->bagcost:Ljava/lang/String;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    invoke-virtual {v5, v0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 387
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    new-instance v20, Ljava/lang/StringBuilder;

    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v21, v0

    move-object/from16 v0, v21

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->bagcost:Ljava/lang/String;

    move-object/from16 v21, v0

    invoke-static/range {v21 .. v21}, Ljava/lang/Float;->valueOf(Ljava/lang/String;)Ljava/lang/Float;

    move-result-object v21

    invoke-virtual/range {v21 .. v21}, Ljava/lang/Float;->floatValue()F

    move-result v21

    invoke-static/range {v21 .. v21}, Ljava/lang/Math;->round(F)I

    move-result v21

    invoke-static/range {v21 .. v21}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;

    move-result-object v21

    invoke-direct/range {v20 .. v21}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual/range {v20 .. v20}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v20

    move-object/from16 v0, v20

    move-object/from16 v1, v19

    iput-object v0, v1, Lcom/example/m6shop/GoodsShowActivity;->bagcost:Ljava/lang/String;

    .line 388
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity;->bagcost:Ljava/lang/String;

    move-object/from16 v19, v0

    move-object/from16 v0, v19

    invoke-virtual {v5, v0}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    goto/16 :goto_0

    .line 393
    .end local v5    # "etgoodsbagcost":Landroid/widget/EditText;
    :sswitch_a
    move-object/from16 v0, p0

    iget-object v0, v0, Lcom/example/m6shop/GoodsShowActivity$4;->this$0:Lcom/example/m6shop/GoodsShowActivity;

    move-object/from16 v19, v0

    const-string v20, "\u4fee\u6539\u6210\u529f"

    const/16 v21, 0xbb8

    invoke-static/range {v19 .. v21}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v19

    invoke-virtual/range {v19 .. v19}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    .line 285
    nop

    :sswitch_data_0
    .sparse-switch
        0x0 -> :sswitch_0
        0x1 -> :sswitch_2
        0x2 -> :sswitch_1
        0x3 -> :sswitch_4
        0x4 -> :sswitch_3
        0x7 -> :sswitch_5
        0x8 -> :sswitch_6
        0x9 -> :sswitch_7
        0xa -> :sswitch_8
        0x1e -> :sswitch_9
        0x1f -> :sswitch_a
    .end sparse-switch
.end method
